using System;

namespace Pay.Data
{
	/// <summary>
	/// 微信验证码表
	/// </summary>
	[Serializable]
	public class WXVerificationCode
	{
		/// <summary>
		/// 微信验证码Id
		/// [主键：√]
		/// [长度：19]
		/// [不允许为空]
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 验证码
		/// [长度：10]
		/// [不允许为空]
		/// </summary>
		public string VerificationCode { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long? UserId { get; set; }

        /// <summary>
        /// 微信OpenId
        /// </summary>
        public string WXOpenId { get; set; }
		
        /// <summary>
		/// 创建时间
		/// [长度：23，小数位数：3]
		/// [不允许为空]
		/// </summary>
		public DateTime CreateTime { get; set; }

        /// <summary>
        /// 关注者用户信息
        /// </summary>
        public virtual Merchant Merchant { get; set; }

    }
}
